<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>transition 复合属性</title>
    <style>
        .outer {
            width: 1000px;
            height: 100px;
            border: 1px solid black;
        }
        .inner {
            width: 100px;
            height: 100px;
            background-color: orange;
            transition:3s all 0.5s linear;
            transition-duration: 3s;
            transition-property: all;
            transition-delay: 0.5s;
            transition-timing-function: linear;
        }
        .outer:hover .inner {
            width: 1000px;  
        } 
    </style>
</head>
<body>
    <div class="outer">
        <div class="inner"></div>
    </div>
</body>
</html>